<script>
	import { isMobile } from './utils/pcorphone.js'
	export default {
		onLaunch: function() {
			console.log(isMobile(),'App Launch')
			if(isMobile()){
				console.log("H5");
			}else{
				console.log("PC");
				window.location.href = 'http://www.hudaxia.net'
				// window.location.href = 'http://localhost:8080/'
			}
		},
		onShow: function() {
			
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "@/uni_modules/uview-plus/index.scss";
	uni-page-head {
		display: none;
	}
	.u-sticky {
		top: 0 !important;
	}
	img {
		width: 100% !important;
	}
</style>
